{
	"general": {
		"name" : "DKZ M134 Vulcan",
		"type" : "gun_tripod",
		"materials" : ["oredict:ingotIron:8","mts:unuparts.unuparts_decor_unu_bullets:0:10"]
	},

	"gun" : {
		"autoReload" : true,
		"capacity" : 1500,
		"fireDelay" : 1,
		"reloadTime" : 70,
		"gravitationalVelocity": 0.01,
		"bulletSpreadFactor": 0.002,
		"muzzleVelocity" : 853,
		"muzzlePositions": [
			[0,0.296875,0]
		],
		"diameter" : 7.62,
		"minCaseLength": 51.2,
		"maxCaseLength": 51.2,
		"length" : 0.615,
		"minPitch" : -52,
		"maxPitch" : 24,
		"minYaw" : -180,
		"maxYaw" : 180,
		"pitchIsInternal" : true,
		"windupTime": 15
	},

	"subParts": [
		{
			"pos" : [0, -0.4375, -1.1875],
			"types" : ["seat_invisible"],
			"minValue": 0,
			"maxValue": 2
		}
	],
	
	"rendering": {
	"sounds": [
      {
		"name": "dkzpartspack:dkz_minigun_winding",
		"activeAnimations": [
		  {
			"animationType": "visibility",
			"variable": "gun_windup_time",
			"clampMin": 0.1,
			"clampMax": 15
		  }
		],
		"pitchAnimations": [
		  {
			"animationType": "translation",
			"variable": "gun_windup_time",
			"axis": [0, 0.06667, 0],
			"offset": 0
		  }
		],
		"looping": true
	  },
      {
        "name": "dkzpartspack:dkz_minigun_reloading",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_reload",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ]
      },
      {
        "name": "dkzpartspack:dkz_minigun_firing",
        "activeAnimations": [
          {
            "animationType": "visibility",
            "variable": "gun_fired",
            "clampMin": 1.0,
            "clampMax": 1.0
          }
        ],
        "forceSound": true
      }
    ],
    "animatedObjects": [
	  {
		"objectName": "group0",
		"applyAfter": "pitch",
		"animations": [
			{
				"animationType": "rotation",
				"variable": "gun_pitch",
				"centerPoint": [0, 0.257813, 0],
				"axis": [1.0,0.0,0.0]
			}
		]
	  },
	  {
		"objectName": "triggers",
		"applyAfter": "group0",
		"animations": [
			{
				"animationType": "translation",
				"variable": "gun_firing",
				"centerPoint": [0, 0.257813, 0],
				"axis": [0.0,0.0,0.005861],
				"duration": 1
			}
		]
	  },
	  {
		"objectName": "yaw",
		"applyAfter": "group0",
		"animations": [
		]
	  },
	  {
		"objectName": "powerswitch",
		"applyAfter": "group0",
		"animations": [
		]
	  },
	  {
		"objectName": "&GenericLight_7CED0B_FFFFF_010",
		"applyAfter": "group0",
		"animations": [
			{
				"animationType": "visibility",
				"variable": "gun_windup_complete",
				"clampMin": 1,
				"clampMax": 1
			}
		]
	  },
	  {
		"objectName": "barrel",
		"applyAfter": "group0",
		"animations": [
			{
				"animationType": "rotation",
				"variable": "gun_windup_rotation",
				"centerPoint": [0,0.257812,0],
				"axis": [0,0,2.5]
			}
		]
	  }
    ]
  }
}
